widget: Remove gtk_widget_class_list_style_properties
authorTimm Bäder <mail@baedert.org>
Thu, 26 Jan 2017 17:58:10 +0000 (18:58 +0100)
committerTimm Bäder <mail@baedert.org>
Mon, 30 Jan 2017 17:11:00 +0000 (18:11 +0100)
Unused.

docs/reference/gtk/gtk4-sections.txt
gtk/gtkwidget.c
gtk/gtkwidget.h

index 0275499776f051c2987fd39f69f134c08cd19a17..f511ab6d9d5c13a3482e6cefbaaddbbbb5395ab9 100644 (file)
@@ -4560,7 +4560,6 @@ gtk_widget_set_redraw_on_allocate
 gtk_widget_mnemonic_activate
 gtk_widget_class_install_style_property
 gtk_widget_class_find_style_property
-gtk_widget_class_list_style_properties
 gtk_widget_send_focus_change
 gtk_widget_style_get
 gtk_widget_style_get_valist
index fb3b6f867ffdeb57a5e3b2accdd055fc55a48e4c..fcfcdc330083f2121af4a08d0aaaf6caa5189789 100644 (file)
@@ -11409,35 +11409,6 @@ gtk_widget_class_find_style_property (GtkWidgetClass *klass,
                                   TRUE);
 }
 
-/**
- * gtk_widget_class_list_style_properties:
- * @klass: a #GtkWidgetClass
- * @n_properties: (out): location to return the number of style properties found
- *
- * Returns all style properties of a widget class.
- *
- * Returns: (array length=n_properties) (transfer container): a
- *     newly allocated array of #GParamSpec*. The array must be
- *     freed with g_free().
- *
- * Since: 2.2
- */
-GParamSpec**
-gtk_widget_class_list_style_properties (GtkWidgetClass *klass,
-                                       guint          *n_properties)
-{
-  GParamSpec **pspecs;
-  guint n;
-
-  pspecs = g_param_spec_pool_list (style_property_spec_pool,
-                                  G_OBJECT_CLASS_TYPE (klass),
-                                  &n);
-  if (n_properties)
-    *n_properties = n;
-
-  return pspecs;
-}
-
 /**
  * gtk_widget_style_get_valist:
  * @widget: a #GtkWidget
index f9045c05e9f78d9d6904ec0ec711383c6d53d4ea..0be1d03e64cfbf43d54286efbdfe5475cbf215f6 100644 (file)
@@ -975,9 +975,6 @@ GDK_AVAILABLE_IN_ALL
 GParamSpec*  gtk_widget_class_find_style_property   (GtkWidgetClass     *klass,
                                                     const gchar        *property_name);
 GDK_AVAILABLE_IN_ALL
-GParamSpec** gtk_widget_class_list_style_properties (GtkWidgetClass     *klass,
-                                                    guint              *n_properties);
-GDK_AVAILABLE_IN_ALL
 void gtk_widget_style_get_valist   (GtkWidget       *widget,
                                    const gchar    *first_property_name,
                                    va_list         var_args);